package com.fwixvye.pojo.rolePack;

import com.fwixvye.pojo.Role;

import java.util.LinkedHashMap;
import java.util.Set;

public class R250琴 extends Role {

    @Override
    public LinkedHashMap<String, Double> singleRoleComputing() {
        LinkedHashMap<String, Double> aMap = new LinkedHashMap<>();
        aMap.put("一段伤害", 0.955);
        aMap.put("二段伤害", 0.901);
        aMap.put("三段伤害", 1.19);
        aMap.put("四段伤害", 1.30);
        aMap.put("五段伤害", 1.57);
        aMap.put("重击伤害", 3.20);
        aMap.put("下坠期间伤害", 1.35);
        aMap.put("低空坠地冲击伤害", 2.53);
        aMap.put("高空坠地冲击伤害", 3.16);

        LinkedHashMap<String, Double> eMap = new LinkedHashMap<>();
        eMap.put("技能伤害", 5.26);

        LinkedHashMap<String, Double> qMap = new LinkedHashMap<>();
        qMap.put("爆发伤害", 7.65);
        qMap.put("出入领域伤害", 1.41);


        LinkedHashMap<String, Double> tMap = new LinkedHashMap<>();
        Set<String> aSet = aMap.keySet();
        for (String s : aSet) {
            double damage = damageCalculatorZF(aMap.get(s), 15, 15, 19, 0.1, 90, 90);
            tMap.put("A" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> eSet = eMap.keySet();
        for (String s : eSet) {
            double damage = damageCalculatorZF(eMap.get(s), 10, 10, 19, 0.1, 90, 90);
            tMap.put("E" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> qSet = qMap.keySet();
        for (String s : qSet) {
            double damage = damageCalculatorZF(qMap.get(s), 10, 10, 19, 0.1, 90, 90);
            tMap.put("Q" + s, Double.parseDouble(String.format("%.1f", damage)));
        }



        return tMap;
    }
}
